<div class="block_left">
	<div class="block_khung goc5">
		<div class="block_title goc3">
			<span class="toggleBlock db-up" id="block_1">&nbsp;</span> Quản lý Popup
		</div>
		<div class="block_content" id="block_1">
			<ul class="leftMenu">
				<li><a href="<?php echo $this->baseUrl('popup/admin-popup/index'); ?>" class="icon-16-new">Danh sách Popup</a></li>
				<li><a href="<?php echo $this->baseUrl('popup/admin-popup/add'); ?>" class="icon-16-new">Thêm mới nội dung Popup</a></li>
				
			</ul>
		</div>
	</div>
</div>

<script type="text/javascript">
	<?php 
	if(isset($this->arrParam['tn'])){
	?>
	var tn = <?php echo $this->arrParam['tn'];?>;
	<?php
	} else {
	?>
	var tn = 0;
	<?php
	} 
	?>
	var selected = '.leftMenu #<?php echo $this->arrParam['module'] . '_' . $this->arrParam['controller'];?>';
	if($(selected).size() > 1){
		$(selected).each(function(index){
			if($(this).attr('data') == tn){
				$(this).addClass('active');
			}
		});
	} else {
		$(selected).addClass('active');
	}
</script>
